package com.lz.springboot.disconf.config;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import com.baidu.disconf.client.common.annotations.DisconfUpdateService;
import com.baidu.disconf.client.common.update.IDisconfUpdate;

@Component  
@DisconfUpdateService(classes = {JedisConfig.class})  
public class JedisConfigUpdateCallback implements IDisconfUpdate {  
  
	private static final Logger LOGGER = LoggerFactory.getLogger(JedisConfigUpdateCallback.class);
	
	
    @Override  
    public void reload() throws Exception {  
    	LOGGER.info("============================reload start===========================");
    	LOGGER.info("============================reload end===========================");
    }  
} 